package com.cloud.pikachu.storage.api.dto;

/**
 * 存储类型描述(对应数据库类型)
 * @author ABug
 */
public enum StorageType {
    OSS_ALIYUN(1,"阿里云OSS") ,
    OSS_TENCENT(2,"腾讯OSS"),
    OSS_QINIU(3,"七牛OSS"),
    OSS_LOCALHOST(4,"本地存储"),
    OSS_FTP(5,"远程FTP服务器");

    private int key;
    private String value;

    StorageType(int key, String value){
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }}
